]> dgit.raspbian.org Git - gnome-shell.git/commit
status/system: Fix session submenu visibility
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 4 Feb 2020 01:35:43 +0000 (02:35 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 4 Feb 2020 14:40:44 +0000 (14:40 +0000)
commita205f4e2493e9c84bffba6837ee26554b537396f
tree25cce60102158943789492e48cfaafa685c985aa
parente16c64dbdd096e25c4b207be3d508d08a7f66e5d
status/system: Fix session submenu visibility

Commit 147a743d8d7 moved the suspend and power-off actions into
the submenu that contains the log-out and switch-user actions,
but did not update the submenu visibility logic to account for
the additional actions.

As a result, the submenu is hidden when log-out and switch-user
are unavailable (like on the login screen), even if suspend and
power-off are enabled.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2169
js/ui/status/system.js